//
//  ProductCell.m
//  LazyCat
//
//  Created by linhui on 15/12/24.
//  Copyright (c) 2015年 zhanshu. All rights reserved.
//

#import "ProductCell.h"

#define originX 80
#define sizeWidth (ScreenWidth - 75 * ScreenWidth/320)
@implementation ProductCell
-(void)drawRect:(CGRect)rect {
//    self.kuCunLabel.adjustsFontSizeToFitWidth = YES;
//    self.xiaoLiangLabel.adjustsFontSizeToFitWidth = YES;
//    self.bcView.frame = CGRectMake(0,0,sizeWidth,120);
//    self.iconImage.frame = CGRectMake(10, 10, 60, 60);
//    self.titleLabel.frame = CGRectMake(originX, 10,sizeWidth - 90, 15);
//
//    self.kuCunLabel.font = [UIFont systemFontOfSize:12];
//    CGSize size = [self.kuCunLabel.text sizeWithAttributes:[NSDictionary dictionaryWithObjectsAndKeys:self.kuCunLabel.font,NSFontAttributeName, nil]];
//    self.kunCun.frame = CGRectMake(originX, 69, 33, 15);
//    self.kuCunLabel.frame = CGRectMake(113, 69, 50, 15);
//    self.editImage.frame = CGRectMake(113+size.width+5, 71, 12, 12);
//    self.editBtn.frame = CGRectMake(originX, 67, 33+size.width+12+5, 27);
////    self.xiaoLiangLabel.frame = CGRectMake(160+size.width+12 + 20, 92, 88, 15);
//    self.lineView.frame = CGRectMake(10, 90, sizeWidth - 10, 1);
    self.tagTitle.layer.cornerRadius = 3;
    self.tagTitle.clipsToBounds = YES;

}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
